package com.winkyle.woodenfish.mvpview;

import com.winkyle.woodenfish.controller.activity.PersonalDataActivity;
import com.winkyle.woodenfish.entity.UserInfo;

/**
 * @author winkyle
 * @date 2018/06/20
 * @description 碎片类 {@link PersonalDataActivity}的v层
 */

public interface PersonalDataView extends BaseMvpView {

    /**
     * @description 刷新个人资料
     * @param userInfo 个人资料
     * @return
     */
    void refreshPersonalData(UserInfo userInfo);

    /**
     * @description 点击头像
     * @return
     */
    void changeHeadPortrait();

    /**
     * @description 修改头像成功
     * @return
     */
    void changeHeadPortraitSucceed(String imageUrl);
}
